package com.sunwayworld.basemodule.business.batchrevise.bean;

import com.sunwayworld.basemodule.business.batch.bean.LimsBatchBean;
import com.sunwayworld.framework.data.annotation.Id;
import com.sunwayworld.framework.data.annotation.NotNull;
import com.sunwayworld.framework.data.annotation.Table;
import com.sunwayworld.framework.data.annotation.Transient;
import com.sunwayworld.framework.support.domain.Auditable;
import com.sunwayworld.framework.support.domain.Insertable;
import com.sunwayworld.framework.support.domain.AbstractInsertable;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 送检单样本临时表
 *
 * @author hul@sunwayworld.com
 * @date 2023-02-27
 */
@Table("T_LIMS_BATCH_REVISE")
public class LimsBatchReviseBean extends LimsBatchBean implements Auditable<Long> {

    @Transient
    private static final long serialVersionUID = -82566196618711043L;

    @Id
    private Long id;// 主键
    @NotNull(defaultValue = "temp")
    private String type; // 类型 temp/history : 临时/历史
    private String reviseType; // 修改类型 1: 基本信息调整 2: 样本检测项目调整  3: 补送样本
    private Long batchId; // 订单Id

    @NotNull(defaultValue = "draft")
    private String processStatus;// 流程状态

    @NotNull(
            defaultValue = "1"
    )
    private Long version;

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public Long getVersion() {
        return this.version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReviseType() {
        return reviseType;
    }

    public void setReviseType(String reviseType) {
        this.reviseType = reviseType;
    }


}
